package com.thinkgem.jeesite.modules.shop.service.info;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.shop.dao.info.ShopOrderInfoDao;
import com.thinkgem.jeesite.modules.shop.entity.info.ShopOrderInfo;

/**
 * 购物订单信息Service
 * 
 * @author JiangYongKang
 * @version 2016-12-19
 */
@Service
@Transactional(readOnly = true)
public class ShopOrderInfoService extends CrudService<ShopOrderInfoDao, ShopOrderInfo> {

    public ShopOrderInfo get(String id) {
        return super.get(id);
    }

    public List<ShopOrderInfo> findList(ShopOrderInfo shopOrderInfo) {
        return super.findList(shopOrderInfo);
    }

    public Page<ShopOrderInfo> findPage(Page<ShopOrderInfo> page, ShopOrderInfo shopOrderInfo) {
        return super.findPage(page, shopOrderInfo);
    }

    @Transactional(readOnly = false)
    public void save(ShopOrderInfo shopOrderInfo) {
        super.save(shopOrderInfo);
    }

    @Transactional(readOnly = false)
    public void delete(ShopOrderInfo shopOrderInfo) {
        super.delete(shopOrderInfo);
    }

}
